chrony-config:
  file.managed:
    - name : /etc/chrony.conf
    - source: salt://init/files/chrony.conf
    - user: root
    - group: root
    - mode: 644
    - template: jinja
    - defaults:
      NTPSERVER: {{ pillar['internal_ntp'] }}

chrony-service:
  service.running:
    - name: chronyd
    - enable: True
   # - reload: True 
    - watch:
      - file: chrony-config
